@media screen and (min-width: 768px) {
    form>div {
        min-height: 30px;
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        min-width: auto;
        padding: 0;
        float: left;
        width: 94%;
    }
    form>div>span {
        min-width: 25%;
        display: flex;
        align-items: center;
        line-height: 1;
        padding-bottom: 0.5rem;
        width: 33.3%;
        padding-bottom: 0.5rem;
        position: relative;
    }
    form>div>span>font {
        position: absolute;
        right: 100%;
        color: red;
    }
    form>div>span>input {
        min-width: 11.63rem;
        height: 1.68rem;
        border-radius: 6px;
        font-size: 14px;
        border: 1px solid #cccccc;
        background-color: #fff;
        width: 50%;
        margin-left: 1rem;
    }
    form>div>span>input[type="checkbox"] {
        margin-top: 0.4rem;
        display: inline-block;
        vertical-align: middle;
        height: 0.88rem;
        min-width: auto;
        width: auto;
    }
    form>div>span>select {
        min-width: 11.63rem;
        height: 1.68rem;
        border-radius: 6px;
        font-size: 14px;
        border: 1px solid #cccccc;
        background-color: #fff;
        width: 50%;
        line-height: 1.75rem;
        padding-left: 0.6em;
        margin-left: 1rem;
    }
    form>button {
        position: relative;
        top: auto;
        right: auto;
        padding-right: 1rem;
        padding-bottom: 8px;
        clear: both;
    }
    .dbgrid {
        border-width: 1px;
        border-collapse: collapse;
        word-break: break-word;
        width: 100%;
        border-image: none;
        border: 1px solid #eeeeee;
        border-spacing: 0;
        text-align: center;
        margin-top: 0.5rem;
    }
    .dbgrid tr {
        width: 100%;
    }
    .dbgrid td {
        position: relative;
        z-index: 5;
        line-height: 1.6em;
        padding: 0 4px;
        border-bottom: 1px solid #eeeeee;
        cursor: pointer;
    }
    .dbgrid th {
        z-index: 101;
        font-weight: normal;
        line-height: 1.2em;
        position: sticky;
        top: -1px;
        box-sizing: content-box;
        padding: 4px;
    }
    .dbgrid tr>th {
        background-color: #F5F7F9;
    }
    .dbgrid tr>td, .dbgrid tr>th {
        height: 1.75em;
        padding: 0 4px;
    }
    .dbgrid tr>th:before {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        bottom: -1px;
        height: 1px;
        background-color: #C3CBDD;
        z-index: 10;
    }
    .dbgrid tr>th:not(tr>th:last-child):after {
        content: "";
        position: absolute;
        right: 0;
        width: 1px;
        top: 0;
        bottom: 0;
        background-color: #fafafa;
        z-index: 10;
    }
    .dbgrid tr>td:before {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        bottom: -1px;
        height: 1px;
        background-color: #eeeeee;
        z-index: 10;
    }
    .dbgrid tr>td:not(tr>td:last-child):after {
        content: "";
        position: absolute;
        right: 0;
        width: 1px;
        top: 0;
        bottom: 0;
        background-color: #eeeeee;
        z-index: 10;
    }
    .dbgrid tr>th:not(tr>th:last-child):after, .dbgrid tr>td:before, .dbgrid tr>td:not(tr>td:last-child):after {
        background-color: #C3CBDD;
    }
    .dbgrid tr:not(:first-child) td {
        background-color: #ffffff;
    }
    .dbgrid tr>td:first-child {
        background-color: #F5F7F9;
    }
    .dbgrid tr:hover td {
        background-color: #d7ffef !important;
    }
}

@media screen and (max-width: 767px) {
    ul, ol {
        list-style: none;
    }
    form>div {
        min-height: 30px;
        display: flex;
        flex-wrap: wrap;
        min-width: auto;
        padding: 0;
        float: left;
        width: 100%;
    }
    form>div>span {
        display: flex;
        align-items: center;
        line-height: 1;
        padding-bottom: 0.5rem;
        width: 100%;
        padding-bottom: 0.5rem;
        position: relative;
    }
    form>div>span>font {
        position: absolute;
        right: 100%;
        color: red;
    }
    form>div>span>input {
        flex: 1;
        height: 1.68rem;
        border-radius: 6px;
        font-size: 14px;
        border: 1px solid #cccccc;
        background-color: #fff;
        width: 50%;
        margin-left: 1rem;
    }
    form>div>span>input[type="checkbox"] {
        margin-top: 0.4rem;
        display: inline-block;
        vertical-align: middle;
        height: 0.88rem;
        min-width: auto;
        width: auto;
        flex: none;
    }
    form>div>span>select {
        min-width: 11.63rem;
        height: 1.68rem;
        border-radius: 6px;
        font-size: 14px;
        border: 1px solid #cccccc;
        background-color: #fff;
        width: 50%;
        line-height: 1.75rem;
        padding-left: 0.6em;
        margin-left: 1rem;
        flex: 1;
    }
    form>button {
        position: relative;
        top: auto;
        right: auto;
        padding-right: 1rem;
        padding-bottom: 8px;
        clear: both;
    }
    .phone-view {
        background-color: #fff;
        margin-top: 0.5rem;
        padding: 1rem;
        font-size: 14px;
    }
    .phone-view>li {
        padding: 1rem 0;
        border-top: 1px solid #e6e6e6;
    }
    .phone-view>li:first-child {
        padding-top: 0;
        border-top: none;
    }
    .phone-view>li:last-child {
        padding-bottom: 0;
    }
    .phone-view>li>div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: .5rem;
    }
    .phone-view>li>div>span {
        width: 50%;
    }
    .phone-view>li>div:last-child>span:last-child {
        text-align: right;
        margin-right: 1rem;
    }
    .phone-view>li>div:first-child {
        margin-top: 0;
    }
}